<?php

namespace Qm;

class Family {

    public $sSourceFile;
    public $sName;
    public $sExtends;
    public $sCrcname;
    public $aQuery  = array();

    public function __construct( $sName, $sSourceFile, $sExtends = NULL ) {

        if( ! is_string( $sName ) || empty( $sName ) ) {
            die( 'ivalid name' );
        } #if

        $this->sSourceFile  = $sSourceFile;
        $this->sName        = $sName;
        $this->sExtends     = $sExtends;
        $this->sCrcnamehash = hash( 'adler32', $sName );
    } #function __construct
} #class Family